<?php if (!defined('THINK_PATH')) exit();?>

								<table id="sample-table-2" class="table table-striped table-bordered table-hover">
									<thead>

										<tr>
											<th class="center">
												<label>
													<input type="checkbox" class="ace" />
													<span class="lbl"></span>
												</label>
											</th>
											<th>ID</th>
											<th>用户名</th>
											<th>Email</th>
											
											<th>
												最后登录时间
											</th>
											<th class="hidden-480">是否有效</th>
											<th>操作</th>
										</tr>
									</thead>

									<tbody>

										<?php if(is_array($lists['lists'])): $i = 0; $__LIST__ = $lists['lists'];if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$vo): $mod = ($i % 2 );++$i;?><tr>

												<td class="center">
													<label>
														<input type="checkbox" class="ace" />
														<span class="lbl"></span>
													</label>
												</td>
												<td>
													<a href="#"><?php echo ($vo["id"]); ?></a>
												</td>
												<td><?php echo ($vo["name"]); ?></td>
												<td><?php echo ($vo["email"]); ?></td>
												<td><?php echo ($vo["last_login_time"]); ?></td>
												<td class="hidden-480"><?php echo ($vo["is_activity"]); ?></td>

												<td>
													<?php if($vo["id"] != 1): ?><div class="visible-md visible-lg hidden-sm hidden-xs action-buttons">
													  <?php if($_SESSION['admin_user']['power']== 'all'): ?><a class="blue" href="#" onclick="_es_openDilog70id('<?php echo U('Nav/access_control',array('id'=>$vo['id']));?>','权限分配','quanxianfenpei')" title="权限分配">
																<i class="icon-cog bigger-130"></i>
															</a><?php endif; ?>
															<a class="green" href="#" onclick="_es_openDilogMiddle2('<?php echo U('Nav/edit_admin',array('is_add'=>0,'id'=>$vo['id']));?>','编辑','quanxianfenpei')" title="编辑">
																<i class="icon-pencil bigger-130"></i>
															</a>

															<a class="red" href="#" onclick="delete_ok(<?php echo ($vo['id']); ?>)" title="删除">
																<i class="icon-trash bigger-130"></i>
															</a>
														</div>

														<div class="visible-xs visible-sm hidden-md hidden-lg">
															<div class="inline position-relative">
																<button class="btn btn-minier btn-yellow dropdown-toggle" data-toggle="dropdown">
																	<i class="icon-caret-down icon-only bigger-120"></i>
																</button>

																<ul class="dropdown-menu dropdown-only-icon dropdown-yellow pull-right dropdown-caret dropdown-close">
																<?php if($_SESSION['admin_user']['power']== 'all'): ?><li>
																		<a href="#" class="tooltip-info" data-rel="tooltip"  onclick="_es_openDilog70id('<?php echo U('Nav/access_control',array('id'=>$vo['id']));?>','权限分配','quanxianfenpei')">
																			<span class="blue" >
																				<i class="icon-zoom-in bigger-120"></i>
																			</span>
																		</a>
																	</li><?php endif; ?>
																	<li>
																		<a href="#" class="tooltip-success" data-rel="tooltip" title="编辑" onclick="_es_openDilog90('<?php echo U('Nav/add_menu',array('is_add'=>0,'id'=>$vo['id']));?>','编辑','quanxianfenpei')">
																			<span class="green">
																				<i class="icon-edit bigger-120"></i>
																			</span>
																		</a>
																	</li>

																	<li>
																		<a href="#" class="tooltip-error" data-rel="tooltip" title="删除" onclick="delete_ok($vo['id'])">
																			<span class="red">
																				<i class="icon-trash bigger-120"></i>
																			</span>
																		</a>
																	</li>
																</ul>
															</div>
														</div><?php endif; ?>
												</td>
											</tr><?php endforeach; endif; else: echo "" ;endif; ?>
									</tbody>
								</table>
					<table style="width: 100%;">
					    <tr>
					        <td style="text-align: right;"> <div class="page_list_ops dataTables_paginate paging_bootstrap pagination" ><?php echo ($lists['page_html']); ?></div></td>
					    </tr>
					</table>

<script type="text/javascript">
    $(function(){
        $("#tbmain tr").hover(function(){
            $(this).css({"background-color":"rgba(243, 236, 236, 0.72)"});
        },function(){
            $(this).css({"background-color":"#fff"});
        });
    });

    function _es_openDilog90(url, title,id){ 
     art.dialog.open(url, { title: title, width: '1200px', height: '90%', opacity: 0.2, id: id, fixed: true, close:function(){load();}  });
}
</script>